<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="a.header.jsp" %>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head> 
 <body>
	<input type="button" value="点我测试弹出层" id="btn">

	<script>
		layui.use("layer", function () {
			var layer = layui.layer;
			$=layui.$;
				//layer.msg("大家好，这是最简单的弹层", { time: 9000, type: 1,title:['测试一下','font-size:18px'] });
				$("#btn").click(function () {
					layer.open({
					type: 1,
					area: ['500px', '300px'],
					content: $("#test")
				});
			});
		});
	</script>
		<!--我们在body中加入一个div，里面放入一个table-->
	<div style="display:none" id="test">
	<h1>来一个H1标题</h1>
	<p> 你好哇 我是DIV里的内容</p>
		<table border="1">
		<tr>
		<td>1111</td>
		<td>1111</td>
		<td>1111</td>
		</tr>
		<tr>
		<td>1111</td>
		<td>1111</td>
		<td>1111</td>
		</tr>
		<tr>
		<td>1111</td>
		<td>1111</td>
		<td>1111</td>
		</tr>
		</table>
	</div>

</body>

</html>